package initPkg

import (
	"github.com/gin-gonic/gin"

	"2106a-zg5/demo/order/order_api/router"
)

func RouterRegister() *gin.Engine {
	r := gin.Default()
	user := r.Group("/u/v1")

	base := r.Group("/base")
	router.UserRouter(user)
	router.BaseRouter(base)
	return r
}
